<form action="/" method="post">
  <h3 mat-dialog-title>邀请</h3>
  <div mat-dialog-content>
    <mat-form-field>
      <input type="text" matInput name="name" value="您要邀请的人" [matAutocomplete]="autoMembers" />
    </mat-form-field>
  </div>
  <div mat-dialog-actions>
    <button type="button" mat-raised-button color="primary">邀请</button>
    <button type="button" mat-button mat-dialog-close>关闭</button>
  </div>
</form>
<mat-autocomplete #autoMembers="matAutocomplete" [displayWith]="diaplayUser">
  <mat-option
     *ngFor="let user of users" [value]="user">{{user.name}}</mat-option>
</mat-autocomplete>
